home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / file / managers / git-4.3 / git-4 / git-4.3.7 / info / git.info-1 < prev    next >
Encoding:
GNU Info File  |  1995-07-16  |  49.4 KB  |  1,515 lines

  1. This is Info file git.info, produced by Makeinfo-1.55 from the input
  2. file ./git.texinfo.
  3.  
  4. START-INFO-DIR-ENTRY
  5. * GIT: (git).         GNU Interactive Tools
  6. END-INFO-DIR-ENTRY
  7.  
  8.    GIT: A set of interactive tools, by Tudor Hulubei and Andrei Pitis.
  9.  
  10.    This file documents the GNU Interactive Tools package.
  11.  
  12.    Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
  13.  
  14.    Permission is granted to make and distribute verbatim copies of this
  15. manual provided the copyright notice and this permission notice are
  16. preserved on all copies.
  17.  
  18.    Permission is granted to copy and distribute modified versions of
  19. this manual under the conditions for verbatim copying, provided that
  20. the entire resulting derived work is distributed under the terms of a
  21. permission notice identical to this one.
  22.  
  23.    Permission is granted to copy and distribute translations of this
  24. manual into another language, under the above conditions for modified
  25. versions, except that this permission notice may be stated in a
  26. translation approved by the Foundation.
  27.  
  28. 
  29. File: git.info,  Node: Top,  Next: Introduction,  Up: (dir)
  30.  
  31.    `GIT' is a package containing basically a file system browser, a
  32. process viewer/killer and a ASCII/HEX file viewer.  This is edition
  33. 2.1, for GNU Interactive Tools version 4.3.7.
  34.  
  35. * Menu:
  36.  
  37. * Introduction::        An introduction to GIT concepts.
  38. * Distrib::             How to get the latest GIT distribution.
  39.  
  40. * Key Index::           An item for each standard GIT key sequence.
  41. * Command Index::       An item for each command name.
  42. * Variable Index::      An item for each documented variable.
  43. * Concept Index::       An item for each concept.
  44.  
  45. * Description::         How to use GIT.
  46. * Customization::       How to customize GIT.
  47. * Limitations::         Known GIT limitations.
  48. * Bugs::                How to report a bug.
  49.  
  50. 
  51. File: git.info,  Node: Introduction,  Next: Distrib,  Prev: Top,  Up: Top
  52.  
  53. Introduction
  54. ************
  55.  
  56.    `GIT' is a set of interactive tools.  It contains an extensible file
  57. system browser, an ascii/hex file viewer, a process viewer/killer and
  58. some other related utilities and shell scripts.  It can be used to
  59. increase the speed and efficiency of most of the daily tasks as copying
  60. and moving files and directories, invoking editors, compressing and
  61. uncompressing files, creating and expanding archives, compiling
  62. programs, sending mail, etc.  It looks nice, has colors (if the
  63. standard ANSI color sequences are supported) and is user-friendly.
  64.  
  65.    `GIT' runs on a wide variety of UNIX systems because it uses the
  66. `GNU Autoconf' package to get system specific information.  Please
  67. refer to the PLATFORMS file included in the standard distribution for a
  68. detailed list of systems on which `GIT' has been tested.
  69.  
  70.    One of the main advantages of `GIT' is its flexibility. It is not
  71. limited to a given set of commands.  The configuration file can be
  72. easily enhanced, allowing the user to add new commands or file
  73. operations, depending on its needs or preferences.
  74.  
  75.    `GIT' also provides a shell like command prompt, just to make sure
  76. that the entire power of the UNIX shell commands is still there.
  77.  
  78. 
  79. File: git.info,  Node: Distrib,  Next: Key Index,  Prev: Introduction,  Up: Top
  80.  
  81. Distributing GNU Interactive Tools
  82. **********************************
  83.  
  84.    `GIT' is "free software"; this means that everyone is free to use it
  85. and free to redistribute it on certain conditions.  `GIT' is not in the
  86. public domain; it is copyrighted and there are restrictions on its
  87. distribution, but these restrictions are designed to permit everything
  88. that a good cooperating citizen would want to do.  What is not allowed
  89. is to try to prevent others from further sharing any version of `GIT'
  90. that they might get from you.  The precise conditions are found in the
  91. GNU General Public License that comes with `GIT' and also appears
  92. following this section.
  93.  
  94.    The easiest way to get a copy of `GIT' is from someone else who has
  95. it.  You need not ask for our permission to do so, or tell any one
  96. else; just copy it.  If you have access to the Internet, you can get the
  97. latest distribution version of `GIT' from host `prep.ai.mit.edu' using
  98. anonymous login.  See the file `/pub/gnu/GETTING.GNU.SOFTWARE' on that
  99. host to find out about your options for copying and which files to use.
  100.  
  101.    You may also receive `GNU Interactive Tools' when you buy a computer.
  102. Computer manufacturers are free to distribute copies on the same terms
  103. that apply to everyone else.  These terms require them to give you the
  104. full sources, including whatever changes they may have made, and to
  105. permit you to redistribute the GNU Interactive Tools received from them
  106. under the usual terms of the General Public License.  In other words,
  107. the program must be free for you when you get it, not just free for the
  108. manufacturer.
  109.  
  110. 
  111. File: git.info,  Node: Description,  Next: Customization,  Prev: Concept Index,  Up: Top
  112.  
  113. Using GNU Interactive Tools
  114. ***************************
  115.  
  116.    The `GIT' package contains three interactive programs and a few
  117. additional utilities.  Here there is a description of each of them.
  118.  
  119. * Menu:
  120.  
  121. * git::                 A file system browser.
  122. * gitps::               A process viewer/killer.
  123. * gitview::             An ASCII/HEX file viewer.
  124. * gitcmp::              A file compare utility.
  125. * gitkeys::             An utility for displaying key sequences.
  126. * gitmatch::            An utility for file names matching.
  127. * gitwipe::             An utility for wiping files.
  128. * gitmount::            A script for mounting file systems.
  129. * gitaction::           A per file type action script.
  130. * gitredir::            A internal stdout to stderr redirection script.
  131. * gitrgrep::            A recursive grep script.
  132.  
  133. 
  134. File: git.info,  Node: git,  Next: gitps,  Up: Description
  135.  
  136. The GIT file system browser
  137. ===========================
  138.  
  139.    `git' is a file system browser with some shell features designed to
  140. make your work much easier and much efficient.  It displays one or two
  141. panels,  each one containing a file system directory.  You can browse
  142. the directory tree with the usual cursor keys, pressing `ENTER' when
  143. you want to enter or leave a directory and `TAB' when you want to
  144. change the panels.
  145.  
  146.    Under the two panels there is a shell like input line which you can
  147. use to type normal shell commands.  The input line can handle an
  148. unlimited number of characters and keeps a history of typed commands.
  149. `git' uses the GNU history library for that matter.
  150.  
  151.    Under the input line there is a status bar.  You can see there the
  152. status of the currently executed command, the warnings and errors and
  153. you will be prompted if a decision has to be taken.
  154.  
  155. * Menu:
  156.  
  157. * Conventions::                 Key binding conventions.
  158.  
  159. * Modes::                       How panels can look like.
  160. * Sorting::                     How files can be sorted in a panel.
  161. * Moving::                      How to move the cursor in the panel.
  162. * Selecting::                   How to select (mark) files in a panel.
  163. * Isearch::                     How to search a file name in a panel.
  164. * Input Line::                  How to use the input line.  Basic editing.
  165. * Files::                       How to copy/move/delete/compress/... files.
  166. * Directories::                 How to operate with directories.
  167. * Compiling::                   How to compile programs.
  168. * Mail::                        How to sending/receive ascii/binary mail.
  169. * Shell::                       How to start a sub-shell.
  170. * Grep::                        How to use grep/recursive grep.
  171. * Locking::                     How to lock your console.
  172. * Refreshing::                  How to refresh the screen contents.
  173. * Reseting::                    How to reset your terminal.
  174. * Mounting::                    How to mount/unmount a file system.
  175. * Sysinfo::                     How to get some useful system information.
  176. * Environment::                 How to look at the environment variables.
  177. * Processes::                   How to view/kill processes.
  178. * Sync::                        How to synchronize your file systems.
  179.  
  180. * Documentation::               How to read documentation.
  181.  
  182. * Exit::                        How to exit GNU Interactive Tools.
  183.  
  184. 
  185. File: git.info,  Node: Conventions,  Next: Modes,  Up: git
  186.  
  187. Key binding conventions
  188. -----------------------
  189.  
  190.    `git' now provides a new, easy to remember, scheme to bind commands
  191. on keys.  This is only a convention, if you define new key bindings you
  192. may, or may not follow it.
  193.  
  194.    All the file commands start with `^C'.  This prefix can be followed
  195. by some modifiers, in order to affect the default behavior of the given
  196. command.  These modifiers are `b' and `r'.
  197.  
  198.    `b' - this modifier specifies that the command will run in
  199. background:
  200.  
  201.              ^CM = CHMOD; chmod %s{New mode of %i: ,%m} %i;;;;y
  202.  
  203. defines a command that changes the current selected files mode in
  204. foreground, while
  205.  
  206.              ^CbM = B-CHMOD; chmod %s{New mode of %i: ,%m} %i&;;;;y
  207.  
  208. defines a background command that does the same thing.
  209.  
  210.    `r' - this modifier specifies that the command will be run
  211. recursively:
  212.  
  213.              ^CrM = R-CHMOD; chmod -R %s{New mode of %i: ,} %i;;;;y
  214.  
  215. defines a command that recursively changes the mode of the selected
  216. files.
  217.  
  218.    The `b' and `r' modifiers can be combined, the resulting command
  219. running recursively and in background:
  220.  
  221.              ^CbrM = B-R-CHMOD; chmod -R %s{New mode of %i: ,} %i&;;;;y
  222.  
  223.    You should also note that for some commands (like `gzip') there is
  224. no need for a non-recursive version.  Running `gzip' recursively on
  225. files is harmless.  If there is a directory between these files, `gzip'
  226. will recursively compress that directory, so you can use the same key
  227. binding for recursively and non-recursively compressing.  In fact, it is
  228. a matter of selecting files or directories.
  229.  
  230.    Other programs are less smarter than `gzip'.  We can't run `chmod'
  231. recursively trying to change the mode of all the files in a directory
  232. to 644 because that directory might contain subdirectories and removing
  233. the execution permission from them is a bad idea.  So, in this case, we
  234. need separate commands.
  235.  
  236. 
  237. File: git.info,  Node: Modes,  Next: Sorting,  Prev: Conventions,  Up: git
  238.  
  239. Panel modes
  240. -----------
  241.  
  242.    `git' has three major modes of displaying the panels.  In the first
  243. (default) mode, two panels are displayed, each one using half of the
  244. screen.  In the second mode, only one panel uses the entire screen.  In
  245. the third mode, only the status bar, the input line and the clock are
  246. displayed, all the panels being hidden.
  247.  
  248.    Briefly, a panel can use the entire screen or just half of it.  Even
  249. when a panel is hidden, it still exists.
  250.  
  251.    Users can switch between these three major modes as needed:
  252.  
  253. `^X 0'
  254.      Enlarges the other panel to use the entire screen.  It also changes the
  255.      minor mode to `Display all'. The current panel will become
  256.      invisible (`enlarge-other-panel').
  257.  
  258. `^X 1'
  259.      Enlarges the current panel to use the entire screen.  It also changes the
  260.      minor mode to `Display all'. The other panel will become invisible
  261.      (`enlarge-panel').
  262.  
  263. `^X 2'
  264.      Switches back to the two panel mode (`two-panel-mode').
  265.  
  266. `^O', `ESC o'
  267.      Switches to the tty mode (no panels on the screen) (`tty-mode').
  268.  
  269.    Basically a panel displays the files and directories in a directory.
  270. You can optionally specify some additional information about each entry
  271. (file, directory, ...) to be displayed (a minor mode).
  272.  
  273.    When using the full screen mode, all the minor modes here can be
  274. used.  In half screen mode, the `panel-display-all' mode is not
  275. available.
  276.  
  277.    These are the panel minor modes:
  278.  
  279. `ESC d o'
  280.      Displays the entry owner and group (`panel-display-owner-group').
  281.  
  282. `ESC d d'
  283.      Displays the entry date and time (`panel-display-date-time').
  284.  
  285. `ESC d s'
  286.      Displays the entry size (`panel-display-size').
  287.  
  288. `ESC d m'
  289.      Displays the entry mode (`panel-display-mode').
  290.  
  291. `ESC d f'
  292.      Displays the entry full name (`panel-display-full-name').
  293.  
  294. `ESC d a'
  295.      Displays the entire information about file (`panel-display-all').
  296.      This mode is only available if the panel has been enlarged to use the
  297.      entire screen with `enlarge-panel' or `enlarge-other-panel'
  298.      (`panel-display-all').
  299.  
  300.    There is also another way to change the panel minor modes:
  301.  
  302. `^]'
  303.      Switches to the next panel minor mode (`panel-display-next-mode').
  304.  
  305. 
  306. File: git.info,  Node: Sorting,  Next: Moving,  Prev: Modes,  Up: git
  307.  
  308. Sorting methods
  309. ---------------
  310.  
  311.    Entries in a panel can be sorted in different ways.  These are the
  312. available options:
  313.  
  314. `ESC s n'
  315.      Displays the panel entries sorted by their names (`panel-sort-by-name').
  316.  
  317. `ESC s e'
  318.      Displays the panel entries sorted by their extensions
  319.      (`panel-sort-by-extension').
  320.  
  321. `ESC s s'
  322.      Displays the panel entries sorted by their sizes (`panel-sort-by-size').
  323.  
  324. `ESC s d'
  325.      Displays the panel entries sorted by their `last modified' stamps
  326.      (`panel-sort-by-date').
  327.  
  328. `ESC s m'
  329.      Displays the panel entries sorted by their modes (`panel-sort-by-mode').
  330.  
  331. `ESC s o i'
  332.      Displays the panel entries sorted by their owner ids
  333.      (`panel-sort-by-owner-id').
  334.  
  335. `ESC s g i'
  336.      Displays the panel entries sorted by their group ids
  337.      (`panel-sort-by-group-id').
  338.  
  339. `ESC s o n'
  340.      Displays the panel entries sorted by their owner names
  341.      (`panel-sort-by-owner-name').
  342.  
  343. `ESC s g n'
  344.      Displays the panel entries sorted by their group names
  345.      (`panel-sort-by-group-name').
  346.  
  347.    There is also another way to change the sort method:
  348.  
  349. `ESC s u'
  350.      Switches to the next panel sort method (`panel-sort-next-method').
  351.  
  352. 
  353. File: git.info,  Node: Moving,  Next: Selecting,  Prev: Sorting,  Up: git
  354.  
  355. Moving the cursor in the panel
  356. ------------------------------
  357.  
  358.    Moving the cursor in the panel is very easy.  If your keyboard has
  359. arrows, use them.  If the arrow keys don't work (it might be due to a
  360. badly configured TERM environment variable), you can use the Emacs
  361. commands bindings as well.
  362.  
  363. `UP', `^P'
  364.      Moves the cursor vertically up one entry (`previous-line').
  365.  
  366. `DOWN', `^N'
  367.      Moves the cursor vertically down one entry (`next-line').
  368.  
  369. `HOME', `ESC <'
  370.      Moves the cursor on the first entry in the panel (`beginning-of-panel').
  371.  
  372. `END', `ESC >'
  373.      Moves the cursor on the last entry in the panel (`end-of-panel').
  374.  
  375. `PGUP', `ESC v'
  376.      Moves the cursor vertically down one page (`scroll-down').
  377.  
  378. `PGDOWN', `^V'
  379.      Moves the cursor vertically down one page (`scroll-up').
  380.  
  381. `^X P'
  382.      In order to optimize the screen output, you can modify the
  383.      scroll step (`set-scroll-step').  This is the number of lines to
  384.      try scrolling a panel when the cursor moves out.  The
  385.      `StartupScrollStep' specifies the initial scroll step, but using
  386.      `set-scroll-step' you can dynamically change it.
  387.  
  388. `TAB', `^I', `^X o'
  389.      Moves the cursor in the other panel (`other-panel').
  390.  
  391. `^X P'
  392.      Switch the two panels.  This command works even when `git' is
  393.      not in the `two panels' mode (`switch-panels').
  394.  
  395. 
  396. File: git.info,  Node: Selecting,  Next: Isearch,  Prev: Moving,  Up: git
  397.  
  398. Selecting files
  399. ---------------
  400.  
  401. `INS', `^T', `^X \', `^\'
  402.      Toggle the `selected' flag of the current file (`select-file').
  403.  
  404. `^C s'
  405.      Selects (marks) all the files matching a pattern
  406.      (`select-files-matching-pattern').  The user will be prompted
  407.      for a pattern to match against.
  408.  
  409. `^C u'
  410.      Unselects (unmarks) all the files matching a pattern
  411.      (`select-files-matching-pattern').  The user will be prompted
  412.      for a pattern to match against.
  413.  
  414. 
  415. File: git.info,  Node: Isearch,  Next: Input Line,  Prev: Selecting,  Up: git
  416.  
  417. Incremental searching files in a panel
  418. --------------------------------------
  419.  
  420.    Users sometime need to search a file in a panel, especially when the
  421. panel contains a big number of entries.  For that reason `git' provides
  422. an incremental search feature.  Using forward and backward incremental
  423. search, files can be very easy located.  Wrapped incremental search is
  424. also provided.
  425.  
  426. `^S', `^Xs'
  427.      Incremental searches forward a file in the current panel
  428.      (`isearch-forward').  Pressing `^S' or `^Xs'
  429.      again will force `git' to go to the next entry that matches the
  430.      current isearched string.  When the end of the panel is reached,
  431.      the isearch is restarted from its beginning.
  432.  
  433. `^R', `^Xr'
  434.      Incremental searches backward a file in the current panel
  435.      (`isearch-backward').  Pressing `^R' or `^Xr'
  436.      again will force `git' to go to the next entry that matches the
  437.      current isearched string.  When the beginning of the panel is reached,
  438.      the isearch is restarted from its end.
  439.  
  440. 
  441. File: git.info,  Node: Input Line,  Next: Files,  Prev: Isearch,  Up: git
  442.  
  443. Using the input line
  444. --------------------
  445.  
  446.    The input line is one of the main methods used by `git' to interact
  447. with the user.  All the answers the user should give in order to perform
  448. some operation and all the shell like commands are built using it.  So
  449. here is a description of all the basic editing operations that the
  450. `input line' provides.  They are very much inspired from `Emacs', so
  451. `Emacs' users should have no problem using them.
  452.  
  453. * Menu:
  454.  
  455. * Inserting Text::      Inserting text by simply typing it.
  456. * Moving Point::        How to move the cursor to the place where you
  457.                           want to change something.
  458. * Erasing::             Deleting and killing text.
  459. * History::             Reusing recent input line arguments.
  460. * Setting Mark::        Commands to set the mark.
  461. * Yanking::             Reinserting recently killed text.
  462.  
  463. 
  464. File: git.info,  Node: Inserting Text,  Next: Moving Point,  Up: Input Line
  465.  
  466. Inserting Text
  467. ..............
  468.  
  469.    Typing characters is the most usual way of inserting text into the
  470. input line.  Key sequences starting with printable ascii characters are
  471. not allowed in `git' so typing `a' for example results in inserting `a'
  472. at the current point position.  Of course, there are some other ways of
  473. inserting text into the command line and here there is a description of
  474. most of them.
  475.  
  476. `ESC RET'
  477.      Copies the current file name into the input line at the current point
  478.      position (`file-to-input-line').
  479.  
  480. `ESC ESC RET'
  481.      Copies the other panel path into the input line at the current point
  482.      position (`other-path-to-input-line').
  483.  
  484. `^X ^G'
  485.      Copies the names of all the selected files into the input line at the
  486.      current point position (`selected-files-to-input-line').
  487.  
  488. 
  489. File: git.info,  Node: Moving Point,  Next: Erasing,  Prev: Inserting Text,  Up: Input Line
  490.  
  491. Moving Point
  492. ............
  493.  
  494. `^B', `LEFT'
  495.      Moves the point backward one character (`backward-char').
  496.  
  497. `^F', `RIGHT'
  498.      Moves the point forward one character (`forward-char').
  499.  
  500. `ESC b'
  501.      Moves the point one word backward (`backward-word').
  502.  
  503. `ESC f'
  504.      Moves the point one word forward (`forward-word').
  505.  
  506. `^A'
  507.      Moves the cursor at the beginning of the input line (`beginning-of-line').
  508.  
  509. `^E'
  510.      Moves the cursor at the end of the input line (`end-of-line').
  511.  
  512. 
  513. File: git.info,  Node: Erasing,  Next: History,  Prev: Moving Point,  Up: Input Line
  514.  
  515. Deleting and killing text
  516. .........................
  517.  
  518. `DEL', `^D'
  519.      Deletes the character under the cursor (`delete-char').
  520.  
  521. `^H', `BKSPC'
  522.      Deletes the character before the cursor (`backward-delete-char').
  523.  
  524. `ESC BKSPC'
  525.      Deletes backward one word (`backward-kill-word').
  526.  
  527. `ESC k'
  528.      Deletes the entire line (`kill-line').
  529.  
  530. `^U'
  531.      Deletes all the characters between the beginning of the input line and
  532.      the point (`kill-to-beginning-of-line').
  533.  
  534. `^K'
  535.      Deletes all the characters between the point and the end of the input line
  536.      (`kill-to-end-of-line').
  537.  
  538. `ESC SPC'
  539.      Deletes all the spaces around the point, leaving only one space
  540.      (`just-one-space').
  541.  
  542. `ESC \'
  543.      Deletes all the spaces around the point (`delete-horizontal-space').
  544.  
  545. `^W'
  546.      Saves the region between the point and the mark into the kill "ring" and
  547.      then kills it (`kill-region').  Note that there is no real
  548.      kill-ring here.  The so-called kill-ring has only one entry.
  549.  
  550. `ESC w'
  551.      Saves the region between the point and the mark without killing it
  552.      (`kill-ring-save').
  553.  
  554. 
  555. File: git.info,  Node: History,  Next: Setting Mark,  Prev: Erasing,  Up: Input Line
  556.  
  557. Reusing recent input line arguments
  558. ...................................
  559.  
  560.    A separate history is kept for both built-in and user-defined
  561. commands.  If you call a command that you have used before, you can
  562. re-edit a previously entered string in order to minimize the amount of
  563. characters needed to be typed for the new one.  There is no limit on
  564. the number of strings that can be kept in the history.
  565.  
  566. `ESC p'
  567.      Walks backward through the history of previously entered strings
  568.      (`previous-history-element').
  569.  
  570. `ESC n'
  571.      Walks forward through the history of previously entered strings
  572.      (`next-history-element').
  573.  
  574. 
  575. File: git.info,  Node: Setting Mark,  Next: Yanking,  Prev: History,  Up: Input Line
  576.  
  577. Commands to set the mark
  578. ........................
  579.  
  580. `^SPC'
  581.      Sets the mark at the current point position (`set-mark').
  582.  
  583. `^X ^X'
  584.      Exchange the current point position with the mark one
  585.      (`exchange-point-and-mark').
  586.  
  587. 
  588. File: git.info,  Node: Yanking,  Prev: Setting Mark,  Up: Input Line
  589.  
  590. Reinserting recently killed text
  591. ................................
  592.  
  593. `^Y'
  594.      Reinserts a previously killed text at the current point position (`yank').
  595.  
  596. 
  597. File: git.info,  Node: Files,  Next: Directories,  Prev: Input Line,  Up: git
  598.  
  599. File operations
  600. ---------------
  601.  
  602. * Menu:
  603.  
  604. * Copying Files::               How to copy files.
  605. * Moving Files::                How to move files.
  606. * Creating Files::              How to create new files.
  607. * Deleting Files::              How to delete files.
  608. * Linking Files::               How to create hard and symbolic links.
  609. * Renaming Files::              How to rename a file.
  610. * Inode::                       How to change a file inode mode, owner, group.
  611.  
  612. * Editing Files::               How to edit and create files.  Default editor.
  613. * Viewing Files::               How to view files.  Default viewer.
  614. * Compressing Files::           How to compress and decompress files.
  615. * Encoding Files::              How to uuencode/uudecode a file.
  616. * Encrypting Files::            How to encrypt/decrypt files with pgp.
  617. * Comparing Files::             How to compare two files.
  618. * Spelling Files::              How to spell a file.
  619. * Wiping Files::                How to wipe a file.
  620. * Searching Files::             How to search a file.
  621. * Archive Files::               How to manage tar based archive files.
  622.  
  623. * Actions::                     A different action for each file type.
  624.  
  625. 
  626. File: git.info,  Node: Copying Files,  Next: Moving Files,  Up: Files
  627.  
  628. Copying Files
  629. .............
  630.  
  631. `F5', `^C C'
  632.      Copies the currently selected files and directories to the user supplied
  633.      path (`copy').
  634.  
  635. `^C b C'
  636.      Copies the currently selected files and directories to the user supplied
  637.      path.  The operation is performed in background (`B-COPY').
  638.  
  639. 
  640. File: git.info,  Node: Moving Files,  Next: Creating Files,  Prev: Copying Files,  Up: Files
  641.  
  642. Moving Files
  643. ............
  644.  
  645. `F6', `^C T'
  646.      Moves the currently selected files and directories to the user supplied
  647.      path (`move').
  648.  
  649. `^C b T'
  650.      Moves the currently selected files and directories to the user supplied
  651.      path.  The operation is performed in background (`B-MOVE').
  652.  
  653. 
  654. File: git.info,  Node: Creating Files,  Next: Deleting Files,  Prev: Moving Files,  Up: Files
  655.  
  656. Creating Files
  657. ..............
  658.  
  659.    The easiest way to create a new file is to start an editor and put
  660. something in it.  *Note Editing Files::, for more information.
  661.  
  662. 
  663. File: git.info,  Node: Deleting Files,  Next: Linking Files,  Prev: Creating Files,  Up: Files
  664.  
  665. Deleting Files
  666. ..............
  667.  
  668. `F8', `^C D'
  669.      Deletes the currently selected files and directories (`delete').
  670.  
  671. `^C b D'
  672.      Deletes the currently selected files and directories.  The operation
  673.      is performed in background (`B-DELETE').
  674.  
  675. 
  676. File: git.info,  Node: Linking Files,  Next: Renaming Files,  Prev: Deleting Files,  Up: Files
  677.  
  678. Linking Files
  679. .............
  680.  
  681. `^C H'
  682.      Creates a hard link from the current files to a user supplied file
  683.      name (`LINK').
  684.  
  685. `^C b H'
  686.      Creates a hard link from the current files to a user supplied file
  687.      name (`B-LINK').  The action is performed in background.
  688.  
  689. `^C S'
  690.      Creates a symbolic link from the current files to a user supplied file
  691.      name (`SYMLINK').
  692.  
  693. `^C b S'
  694.      Creates a symbolic link from the current files to a user supplied file
  695.      name (`B-SYMLINK').  The action is performed in background.
  696.  
  697. 
  698. File: git.info,  Node: Renaming Files,  Next: Inode,  Prev: Linking Files,  Up: Files
  699.  
  700. Renaming Files
  701. ..............
  702.  
  703. `^C R'
  704.      Renames the current file or directory with the user supplied name
  705.      (`RENAME').
  706.  
  707. `^C b R'
  708.      Renames the current file or directory with the user supplied name.
  709.      The operation is performed in background (`B-RENAME').
  710.  
  711. 
  712. File: git.info,  Node: Inode,  Next: Editing Files,  Prev: Renaming Files,  Up: Files
  713.  
  714. Changing a file's inode mode, owner and group
  715. .............................................
  716.  
  717. `^C M'
  718.      Changes the mode of the currently selected files inodes (`CHMOD').
  719.  
  720. `^C b M'
  721.      Changes the mode of the currently selected files inodes.  The operation
  722.      is performed in background (`B-CHMOD').
  723.  
  724. `^C r M'
  725.      Recursively changes the modes of the selected files inodes if one of
  726.      them is a directory (`R-CHMOD').
  727.  
  728. `^C b r M'
  729.      Recursively changes the modes of the selected files inodes if one of
  730.      them is a directory.  The operation is performed in background
  731.      (`B-R-CHMOD').
  732.  
  733. `^C O'
  734.      Changes the owner of the currently selected files inodes (`CHOWN').
  735.  
  736. `^C b O'
  737.      Changes the owner of the currently selected files inodes.  The operation
  738.      is performed in background (`B-CHOWN').
  739.  
  740. `^C r O'
  741.      Recursively changes the owners of the selected files inodes if one of
  742.      them is a directory (`R-CHOWN').
  743.  
  744. `^C b r O'
  745.      Recursively changes the owners of the selected files inodes if one of
  746.      them is a directory.  The operation is performed in background
  747.      (`B-R-CHOWN').
  748.  
  749. `^C G'
  750.      Changes the group of the currently selected files inodes (`CHGRP').
  751.  
  752. `^C b G'
  753.      Changes the group of the currently selected files inodes.  The operation
  754.      is performed in background (`B-CHGRP').
  755.  
  756. `^C r G'
  757.      Recursively changes the groups of the selected files inodes if one of
  758.      them is a directory (`R-CHGRP').
  759.  
  760. `^C b r G'
  761.      Recursively changes the groups of the selected files inodes if one of
  762.      them is a directory.  The operation is performed in background
  763.      (`B-R-CHGRP').
  764.  
  765. 
  766. File: git.info,  Node: Editing Files,  Next: Viewing Files,  Prev: Inode,  Up: Files
  767.  
  768. Editing Files
  769. .............
  770.  
  771. `F4'
  772.      Calls the default editor with the current file name as an argument
  773.      (`EDIT').
  774.  
  775. `^X e'
  776.      Calls the default editor with the selected files names as arguments
  777.      (`MULTIPLE-EDIT').
  778.  
  779. `^X ^F'
  780.      Creates a new file by calling the default editor with the user supplied
  781.      file name as an argument (`FILE-CREATE').
  782.  
  783. `^X 4 a'
  784.      Calls the default editor in order to edit the `ChangeLog' file
  785.      (`CHANGE-LOG').
  786.  
  787.    The default editor can be specified using the EDITOR or GIT_EDITOR
  788. environment variables.  *Note Environment Variables::, for more
  789. information.
  790.  
  791. 
  792. File: git.info,  Node: Viewing Files,  Next: Compressing Files,  Prev: Editing Files,  Up: Files
  793.  
  794. Viewing Files
  795. .............
  796.  
  797. `F3', `^X h'
  798.      Calls the default viewer (`gitview') with the current file name as
  799.      argument (`VIEW').
  800.  
  801. `^X v'
  802.      Calls the default pager (`more') with the currently selected file
  803.      names  as arguments (`MULTIPLE-VIEW').
  804.  
  805. 
  806. File: git.info,  Node: Compressing Files,  Next: Encoding Files,  Prev: Viewing Files,  Up: Files
  807.  
  808. Compressing Files
  809. .................
  810.  
  811. `^C z'
  812.      Compresses the currently selected files and directories (`COMPRESS').
  813.  
  814. `^C b z'
  815.      Compresses the currently selected files and directories.  The operation
  816.      is performed in background (`B-COMPRESS').
  817.  
  818. `^C Z'
  819.      Uncompresses the currently selected files and directories (`UNCOMPRESS').
  820.  
  821. `^C b Z'
  822.      Uncompresses the currently selected files and directories.  The
  823.      operation is performed in background (`B-UNCOMPRESS').
  824.  
  825. 
  826. File: git.info,  Node: Encoding Files,  Next: Encrypting Files,  Prev: Compressing Files,  Up: Files
  827.  
  828. Encoding Files
  829. ..............
  830.  
  831. `^C e'
  832.      Encodes the currently selected file (`UUENCODE').
  833.  
  834. `^C b e'
  835.      Encodes the currently selected file.  The operation is performed in
  836.      background (`B-UUENCODE').
  837.  
  838. `^C E'
  839.      Decodes the currently selected file (`UUDECODE').
  840.  
  841. `^C b E'
  842.      Decodes the currently selected file.  The operation is performed in
  843.      background (`B-UUDECODE').
  844.  
  845. 
  846. File: git.info,  Node: Encrypting Files,  Next: Comparing Files,  Prev: Encoding Files,  Up: Files
  847.  
  848. Encrypting Files
  849. ................
  850.  
  851. `^C p'
  852.      Encrypts (using `pgp') the current file (`ENCRYPT').
  853.  
  854. `^C P'
  855.      Decrypts (using `pgp') the current file (`DECRYPT').
  856.  
  857. 
  858. File: git.info,  Node: Comparing Files,  Next: Spelling Files,  Prev: Encrypting Files,  Up: Files
  859.  
  860. Comparing Files
  861. ...............
  862.  
  863. `^C ='
  864.      Compares (using `diff') the current ASCII file with the other panel
  865.      current file (`DIFF').  If both entries are directories, a
  866.      recursive diff is performed.
  867.  
  868. `^C ESC ='
  869.      Compares (using `diff') the current ASCII file with its latest backup.
  870.      The latest backup is the file having the same name and a '~' at the end
  871.      (`LAST-BACKUP-DIFF').
  872.  
  873. `^C B'
  874.      Compares the current file with the other panel current file.  A binary
  875.      comparison is performed (`BINARY-COMPARE').
  876.  
  877. 
  878. File: git.info,  Node: Spelling Files,  Next: Wiping Files,  Prev: Comparing Files,  Up: Files
  879.  
  880. Spelling Files
  881. ..............
  882.  
  883. `^X I'
  884.      Runs the `ispell' command with the current file name as an argument.
  885.  
  886. 
  887. File: git.info,  Node: Wiping Files,  Next: Searching Files,  Prev: Spelling Files,  Up: Files
  888.  
  889. Wiping Files
  890. ............
  891.  
  892. `^C W'
  893.      Calls `gitwipe' to wipe the selected files.  Asks for confirmation
  894.      before actually wiping them in order to avoid errors (`WIPE').
  895.    *Note gitwipe::, for more information.
  896.  
  897. 
  898. File: git.info,  Node: Searching Files,  Next: Archive Files,  Prev: Wiping Files,  Up: Files
  899.  
  900. Searching Files
  901. ...............
  902.  
  903. `ESC %'
  904.      Searches files on the file system, starting from the current directory
  905.      (`FIND').
  906.  
  907. `^X w'
  908.      Locates the binary, source, and manual page files for a command
  909.      (`WHEREIS').
  910.  
  911. `^X W'
  912.      Locate a command; display its pathname or alias (`WHICH').
  913.  
  914. 
  915. File: git.info,  Node: Archive Files,  Next: Actions,  Prev: Searching Files,  Up: Files
  916.  
  917. Managing tar based archive files
  918. ................................
  919.  
  920. `^C a'
  921.      Creates a `tar' archive containing all the currently selected files
  922.      and directories (`TAR').
  923.  
  924. `^C b a'
  925.      Creates a `tar' archive containing all the currently selected files
  926.      and directories.  The operation is performed in background (`B-TAR').
  927.  
  928. `^C A'
  929.      Expands the `tar' archive pointed by the cursor into the current
  930.      directory (`UNTAR').
  931.  
  932. `^C b A'
  933.      Expands the `tar' archive pointed by the cursor into the current
  934.      directory.  The operation is performed in background (`B-UNTAR').
  935.  
  936. `^C x'
  937.      Creates a compressed `tar' archive containing all the currently
  938.      selected files and directories (`TAR-COMPRESS').
  939.  
  940. `^C b x'
  941.      Creates a compressed `tar' archive containing all the currently
  942.      selected files and directories.  The operation is performed in
  943.      background  (`B-TAR-COMPRESS').
  944.  
  945. `^C X'
  946.      Expands the compressed `tar' archive pointed by the cursor into the
  947.      current directory (`UNCOMPRESS-UNTAR').
  948.  
  949. `^C b X'
  950.      Expands the compressed `tar' archive pointed by the cursor into the
  951.      current directory.  The operation is performed in background
  952.      (`B-UNCOMPRESS-UNTAR').
  953.  
  954. 
  955. File: git.info,  Node: Actions,  Prev: Archive Files,  Up: Files
  956.  
  957. A different action for each file type
  958. .....................................
  959.  
  960.    Many files on `UNIX' systems have one or more extensions specifying
  961. their types.  For example, a file that ends in `.c' is a file
  962. containing a `C' program, while a file ending in `.tar.gz' is a `tar'
  963. archive compressed with the `gzip' utility.  Having a default action
  964. for each file type, binded on the same key, seems to be a good idea
  965. because you can use that key to obtain type specific information about
  966. a file or to process it in some type specific way much easier.  The
  967. `GIT' package contains a script called `gitaction' and a file name
  968. match utility called `gitmatch' that are used together to detect the
  969. current file type and perform a type specific action.  *Note
  970. gitaction::, for more information.
  971.  
  972. `F2', `^X a'
  973.      Performs an action on the current file, depending on its type
  974.      (`FILE-ACTION').
  975.  
  976. 
  977. File: git.info,  Node: Directories,  Next: Compiling,  Prev: Files,  Up: git
  978.  
  979. Directory operations
  980. --------------------
  981.  
  982. * Menu:
  983.  
  984. * Creating Dirs::               How to create new directories.
  985. * Copying Dirs::                How to copy directories.
  986. * Deleting Dirs::               How to delete directories.
  987. * Moving Dirs::                 How to move directories.
  988. * Renaming Dirs::               How to rename directories.
  989. * Dirs Usage::                  Summarize directory usage.
  990. * Changing Dirs::               How to go to a new directory.
  991. * Dirs History::                How to use the directory history.
  992. * Hot Keys::                    Hot keys for the most used directories.
  993.  
  994. 
  995. File: git.info,  Node: Creating Dirs,  Next: Copying Dirs,  Up: Directories
  996.  
  997. Creating directories
  998. ....................
  999.  
  1000. `F7', `^X M'
  1001.      Creates a new subdirectory in the current directory with the user
  1002.      supplied name (`make-directory').
  1003.  
  1004. 
  1005. File: git.info,  Node: Copying Dirs,  Next: Deleting Dirs,  Prev: Creating Dirs,  Up: Directories
  1006.  
  1007. Copying directories
  1008. ...................
  1009.  
  1010. `F5 (for directories)', `^C C (for directories)'
  1011.      Copies the currently selected files and directories to the user supplied
  1012.      path (`copy').
  1013.  
  1014. `^C b C (for directories)'
  1015.      Copies the currently selected files and directories to the user supplied
  1016.      path.  The operation is performed in background (`B-COPY').
  1017.  
  1018. 
  1019. File: git.info,  Node: Deleting Dirs,  Next: Moving Dirs,  Prev: Copying Dirs,  Up: Directories
  1020.  
  1021. Deleting directories
  1022. ....................
  1023.  
  1024. `F8 (for subdirectories)', `^C D (for subdirectories)'
  1025.      Deletes the currently selected files and directories (`delete').
  1026.  
  1027. `^C b D (for directories)'
  1028.      Deletes the currently selected files and directories.  The operation
  1029.      is performed in background (`B-DELETE').
  1030.  
  1031. 
  1032. File: git.info,  Node: Moving Dirs,  Next: Renaming Dirs,  Prev: Deleting Dirs,  Up: Directories
  1033.  
  1034. Moving directories
  1035. ..................
  1036.  
  1037. `F6 (for directories)', `^C T (for directories)'
  1038.      Moves the currently selected files and directories to the user supplied
  1039.      path (`move').
  1040.  
  1041. `^C b T (for directories)'
  1042.      Moves the currently selected files and directories to the user supplied
  1043.      path.  The operation is performed in background (`B-MOVE').
  1044.  
  1045. 
  1046. File: git.info,  Node: Renaming Dirs,  Next: Dirs Usage,  Prev: Moving Dirs,  Up: Directories
  1047.  
  1048. Renaming directories
  1049. ....................
  1050.  
  1051. `^C R (for directories)'
  1052.      Renames the current file or directory with the user supplied name
  1053.      (`RENAME').
  1054.  
  1055. `^C b R (for directories)'
  1056.      Renames the current file or directory with the user supplied name.
  1057.      The operation is performed in background (`B-RENAME').
  1058.  
  1059. 
  1060. File: git.info,  Node: Dirs Usage,  Next: Changing Dirs,  Prev: Renaming Dirs,  Up: Directories
  1061.  
  1062. Summarize directory usage
  1063. .........................
  1064.  
  1065. `^C U'
  1066.      Displays the output of the `du -s' command on the status line
  1067.      (`DIRECTORY-USAGE').
  1068.  
  1069. 
  1070. File: git.info,  Node: Changing Dirs,  Next: Dirs History,  Prev: Dirs Usage,  Up: Directories
  1071.  
  1072. Changing directories
  1073. ....................
  1074.  
  1075. `^X d', `^X ^D'
  1076.      Changes the current working directory.  The user is asked for a new
  1077.      directory name and the new directory is added to the directory history
  1078.      (`change-directory').
  1079.    *Note Dirs History::, for more information.
  1080.  
  1081. `ESC c c'
  1082.      Change the current directory of the current panel to the directory of the
  1083.      other panel (`conform-current-directory').
  1084.  
  1085. `ESC c o'
  1086.      Change the current directory of the other panel to the directory of the
  1087.      current panel (`conform-other-directory').
  1088.  
  1089. 
  1090. File: git.info,  Node: Dirs History,  Next: Hot Keys,  Prev: Changing Dirs,  Up: Directories
  1091.  
  1092. Directory History
  1093. .................
  1094.  
  1095.    Users usually work on a limited set of subdirectories.  Providing a
  1096. fast method of switching between a number of intensively used
  1097. directories seems to be a good idea and `git' has a set of builtin
  1098. commands for this.
  1099.  
  1100.    Usually new directories are added to the directory history when the
  1101. `change-directory' built-in command is used.  `git' also adds the
  1102. current directory to the history list when started, when the directory
  1103. history is reseted and when a command having a non empty `new-dir'
  1104. field successfully completes its execution.  *Note new-dir::, for more
  1105. information.
  1106.  
  1107. `^X ^N'
  1108.      Goes to the next directory in the history (`next-directory').
  1109.  
  1110. `^X ^P'
  1111.      Goes to the previous directory in the history (`previous-directory').
  1112.  
  1113. `^X ^R'
  1114.      Resets the entire directory history.  As explained above, the current
  1115.      directory becomes the only directory in the history
  1116.      (`reset-directory-history').
  1117.  
  1118. 
  1119. File: git.info,  Node: Hot Keys,  Prev: Dirs History,  Up: Directories
  1120.  
  1121. Hot Keys
  1122. ........
  1123.  
  1124.    `git' provides default key bindings for switching to a number of
  1125. important directories as "/", "..", "$HOME", etc.
  1126.  
  1127. `ESC /'
  1128.      Goes to the `/' directory (`ROOT-DIR').
  1129.  
  1130. `ESC .'
  1131.      Goes to the `..' directory (`UP-DIR').
  1132.  
  1133. `ESC h'
  1134.      Goes to the `~' ($HOME) directory (`HOME-DIR').
  1135.  
  1136. `ESC i'
  1137.      Goes to the `/usr/include' directory (`INCLUDE-DIR').
  1138.  
  1139. `ESC 1'
  1140.      Goes to the `/mnt/fd0' directory (`FIRST-FLOPPY-DIR').
  1141.  
  1142. `ESC 2'
  1143.      Goes to the `/mnt/fd1' directory (`SECOND-FLOPPY-DIR').
  1144.  
  1145. 
  1146. File: git.info,  Node: Compiling,  Next: Mail,  Prev: Directories,  Up: git
  1147.  
  1148. Compiling programs
  1149. ------------------
  1150.  
  1151. `F9', `^X m'
  1152.      Runs the `make' command in the current directory.
  1153.  
  1154. `^X b m'
  1155.      Runs the `make' command in background in the current directory.
  1156.    *Note gitaction::, for more information.
  1157.  
  1158. 
  1159. File: git.info,  Node: Mail,  Next: Shell,  Prev: Compiling,  Up: git
  1160.  
  1161. Sending/receiving ascii/binary mail
  1162. -----------------------------------
  1163.  
  1164. `^C 2 a'
  1165.      Sends the current current ascii file by mail to an user supplied email
  1166.      address.
  1167.  
  1168. `^C b 2 a'
  1169.      The same as above, the only difference being that the command runs in
  1170.      background.
  1171.  
  1172. `^C 2 b'
  1173.      Sends the current current binary file by mail to an user supplied email
  1174.      address.  The file is uuencoded first.
  1175.  
  1176. `^C b 2 b'
  1177.      The same as above, the only difference being that the command runs in
  1178.      background.
  1179.  
  1180. `ESC x r m'
  1181.      Runs the `emacs -f rmail' command.  This will start the Emacs's
  1182.      `rmail' function so that you can read your mail.
  1183.  
  1184. 
  1185. File: git.info,  Node: Shell,  Next: Grep,  Prev: Mail,  Up: git
  1186.  
  1187. Starting a sub-shell
  1188. --------------------
  1189.  
  1190. `^X z'
  1191.      Calls a sub-shell as specified by the $GIT_SHELL environment variable
  1192.      (`SUB-SHELL').
  1193.    *Note Environment Variables::, for more information.
  1194.  
  1195. 
  1196. File: git.info,  Node: Grep,  Next: Locking,  Prev: Shell,  Up: git
  1197.  
  1198. Using grep and recursive grep
  1199. -----------------------------
  1200.  
  1201. `^X g'
  1202.      Searches using `grep' all the selected files for a given pattern
  1203.      (`GREP').
  1204.  
  1205. `^X g'
  1206.      Searches recursively using `gitrgrep' all the user specified files
  1207.      and directories for a given pattern (`RECURSIVE-GREP').
  1208.    *Note gitrgrep::, for more information.
  1209.  
  1210. 
  1211. File: git.info,  Node: Locking,  Next: Refreshing,  Prev: Grep,  Up: git
  1212.  
  1213. Locking your console
  1214. --------------------
  1215.  
  1216.    Having a lock feature might be a good idea and, since not all the
  1217. UNIX systems provide one, `git' tries to get around the problem ...
  1218.  
  1219. `^X p'
  1220.      Prompts the user for a password and locks the console until the same
  1221.      password is reinserted (`lock').
  1222.  
  1223. 
  1224. File: git.info,  Node: Refreshing,  Next: Reseting,  Prev: Locking,  Up: git
  1225.  
  1226. Refreshing the screen contents
  1227. ------------------------------
  1228.  
  1229.    Sometimes your screen needs to be refreshed.  Just think about what
  1230. happens when somebody wants to talk with you and the talk daemon writes
  1231. something like this
  1232.  
  1233.      Message from Talk_Daemon@galei.cs.vu.nl at 12:15 ...
  1234.      talk: connection requested by andrei@galei.cs.vu.nl.
  1235.      talk: respond with:  talk andrei@galei.cs.vu.nl
  1236.  
  1237. on your screen.  And sometimes you might also want to re-read the
  1238. current directories.  `git' provides some built-in commands for
  1239. refreshing the screen contents.
  1240.  
  1241. `^L'
  1242.      Re-read the directories contents re-displaying them using optimizations. Only
  1243.      those parts of the screen that have changed are repainted (`refresh').
  1244.  
  1245. `^X l'
  1246.      Refresh the entire screen contents without using optimizations.  Useful
  1247.      when some "nice" program wrote something on the screen, because `git'
  1248.      has no way to detect this (`hard-refresh').
  1249.  
  1250. 
  1251. File: git.info,  Node: Reseting,  Next: Mounting,  Prev: Refreshing,  Up: git
  1252.  
  1253. Reseting your terminal
  1254. ----------------------
  1255.  
  1256. `^X ^L'
  1257.      Calls `reset' in order to reset the terminal to its default settings
  1258.      (`TTY-RESET').
  1259.  
  1260. 
  1261. File: git.info,  Node: Mounting,  Next: Sysinfo,  Prev: Reseting,  Up: git
  1262.  
  1263. Mounting/unmounting file systems
  1264. --------------------------------
  1265.  
  1266.    People dealing with lots of files usually need to save/restore/copy
  1267. files from/to other file systems.  In order to be more efficient, `git'
  1268. provides a set of key bindings for mounting and unmounting file systems.
  1269. *Note gitmount::, for more information.
  1270.  
  1271.    The default key bindings set has been designed to work under `Linux',
  1272. but it can be easily changed for other UNIX systems with different
  1273. device names.  Reading the configuration file `.gitrc.common' should be
  1274. enough.  *Note Hot Keys::, for more information.
  1275.  
  1276.    As a convention, the `/mnt' directory is used to store an empty
  1277. subdirectory for each mountable file system.  Each file system is
  1278. actually mounted in its counterpart `/mnt' subdirectory. Try to follow
  1279. this convention since the `gitmount' script is heavily based on it.
  1280. *Note Customization::, for more information.
  1281.  
  1282. `ESC m a'
  1283.      Calls `mount'(1) in order to mount the first floppy (`/dev/fd0')
  1284.      in the `/mnt/fd0' directory (`MOUNT-A').
  1285.  
  1286. `ESC m b'
  1287.      Calls `mount'(1) in order to mount the second floppy (`/dev/fd1')
  1288.      in the `/mnt/fd1' directory (`MOUNT-B').
  1289.  
  1290. `ESC m t'
  1291.      Calls `mount'(1) in order to mount the file system corresponding to
  1292.      the currently pointed to  subdirectory.  For example, if you are in the
  1293.      `/mnt' directory and the cursor is on the `fd0' subdirectory,
  1294.      the first floppy will be mounted (`MOUNT-THIS').
  1295.  
  1296. `ESC u a'
  1297.      Calls `umount'(1) in order to unmount the first floppy (`/dev/fd0')
  1298.      (`UMOUNT-A').
  1299.  
  1300. `ESC u b'
  1301.      Calls `umount'(1) in order to unmount the second floppy (`/dev/fd1')
  1302.      (`UMOUNT-B').
  1303.  
  1304. `ESC u t'
  1305.      Calls `umount'(1) in order to unmount the file system mounted into
  1306.      the currently pointed to subdirectory (`UMOUNT-THIS'). For example,
  1307.      if the current directory is `/mnt' and the cursor points to the
  1308.      `fd1' subdirectory, the second floppy will be unmounted.
  1309.  
  1310. 
  1311. File: git.info,  Node: Sysinfo,  Next: Environment,  Prev: Mounting,  Up: git
  1312.  
  1313. Getting some useful system information
  1314. --------------------------------------
  1315.  
  1316. `ESC S f'
  1317.      Calls `finger'(1) in order to display information about local and
  1318.      remote users  (`FINGER').
  1319.  
  1320. `ESC S m'
  1321.      Calls `mount'(1) in order to display a list of the currently
  1322.      mounted file systems (`MOUNTED-FILE-SYSTEMS').
  1323.  
  1324. `ESC S q'
  1325.      Calls `quota'(1) in order to display a user file system disk quota and
  1326.      quota (`QUOTA').
  1327.  
  1328. `ESC S s'
  1329.      Calls `df'(1) in order to get the status of the currently mounted
  1330.      file systems (`DISK-FREE-SPACE').
  1331.  
  1332. `ESC S u'
  1333.      Calls `users'(1) in order to get the name of the currently logged
  1334.      in users (`USERS').
  1335.  
  1336. `ESC S v'
  1337.      Calls `$GIT_VMSTAT'(1) in order to get the current virtual memory
  1338.      status.  This is very system dependent, `Linux' uses `free',
  1339.      other systems use `vmstat', so the $GIT_VMSTAT variable is
  1340.      used to deal with this (`VIRTUAL-MEMORY-STATUS').
  1341.    *Note Environment Variables::, for more information.
  1342.  
  1343. `ESC S w'
  1344.      Calls `who'(1) in order to find out who is on the system (`WHO').
  1345.  
  1346. 
  1347. File: git.info,  Node: Environment,  Next: Processes,  Prev: Sysinfo,  Up: git
  1348.  
  1349. How to look at the environment variables
  1350. ----------------------------------------
  1351.  
  1352. `^X E'
  1353.      Calls `env'(1) in order to display the current environment (`ENV').
  1354.  
  1355. 
  1356. File: git.info,  Node: Processes,  Next: Sync,  Prev: Environment,  Up: git
  1357.  
  1358. Viewing/killing processes
  1359. -------------------------
  1360.  
  1361.    There are at least two kinds of `ps'(1) utilities.  One that accepts
  1362. (more or less) combinations of the 'a', 'u', and 'x' flags and another
  1363. that accepts combinations of 'e', 'f' and 'l' flags.  Since is quite
  1364. difficult to test which one works fine on a given `UNIX' system, `git'
  1365. provides key bindings for both of them.  Anyway, if your `ps'(1) fails
  1366. to accept the predefined combinations, please take a look in its manual
  1367. and then modify the `.gitrc.TERM' file as needed.
  1368.  
  1369.    Since the number of possible combinations of flags in the `ps'
  1370. command line is quite big and *very* system dependent, there is no real
  1371. reason to display them all here.  We are only interested in giving you
  1372. a starting point in your search through the `.gitrc.TERM' file.
  1373.  
  1374.    Note also that you can display a list of processes using `ps'(1) or
  1375. browse through a list of them (killing as needed) using `gitps'.  As a
  1376. convention, we have used the same key sequence for a given set of
  1377. `ps'(1) flags for both `ps'(1) and `gitps', the only difference being
  1378. that `ps'(1) keys end in an uppercase letter.  *Note gitps::, for more
  1379. information.
  1380.  
  1381.    Here there are the default key bindings for the 'e', 'f' and 'l'
  1382. `ps'(1) flags combinations:
  1383.  
  1384. `ESC P b', `ESC P c', `ESC P e'
  1385.      Calls `gitps' or `ps'(1) in order to browse through or display
  1386.      a list of currently running processes (`GITPS', `PS').
  1387.  
  1388. ... and the default key bindings for the 'a', 'u' and 'x' `ps'(1) flags
  1389. combinations:
  1390.  
  1391. `ESC P a', `ESC P l', `ESC P u' `ESC P x', `ESC P y'
  1392.      Calls `gitps' or `ps'(1) in order to browse through or display
  1393.      a list of currently running processes (`GITPS', `PS').
  1394.  
  1395. `^X k'
  1396.      Calls `kill'(1) in order to kill a user specified process with a
  1397.      given signal  (`KILL').
  1398.  
  1399. 
  1400. File: git.info,  Node: Sync,  Next: Documentation,  Prev: Processes,  Up: git
  1401.  
  1402. Synchronizing the file systems
  1403. ------------------------------
  1404.  
  1405. `^X S'
  1406.      Calls `sync'(1) in order to synchronize all the file systems
  1407.      (`SYNC').
  1408.  
  1409. 
  1410. File: git.info,  Node: Documentation,  Next: Exit,  Prev: Sync,  Up: git
  1411.  
  1412. Reading documentation
  1413. ---------------------
  1414.  
  1415. `^X q'
  1416.      Reads a manual page. The user is prompted for its name (`MAN').
  1417.  
  1418. `F1, ^X i'
  1419.      Reads an info documentation. The user is prompted for the documentation
  1420.      name (`INFO').
  1421.  
  1422. 
  1423. File: git.info,  Node: Exit,  Prev: Documentation,  Up: git
  1424.  
  1425. Exiting GNU Interactive Tools
  1426. -----------------------------
  1427.  
  1428. `F10', `^X ^C', `^X c'
  1429.      Exits GNU Interactive Tools (`exit').
  1430.  
  1431. 
  1432. File: git.info,  Node: gitps,  Next: gitview,  Prev: git,  Up: Description
  1433.  
  1434. The GIT process viewer/killer
  1435. =============================
  1436.  
  1437.    `gitps' is an interactive process viewer/killer.  It calls
  1438. internally the `ps'(1) utility so that's the reason why `gitps'
  1439. parameters are in fact `ps'(1) ones.
  1440.  
  1441.    Running `gitps' it is self explanatory.  Use the `arrows', `PageUp',
  1442. `PageDown', `Home', `End', `^N', `^P', `^V', `ESC v' to move in the
  1443. list, `^L' to refresh it and `F10' or `^G' to leave.
  1444.  
  1445.    You can change these keys, just read the GITPS-Setup, GITPS-Color,
  1446. GITPS-Monochrome and GITPS-Keys sections in the configuration files
  1447. `.gitrc.TERM'.
  1448.  
  1449. 
  1450. File: git.info,  Node: gitview,  Next: gitcmp,  Prev: gitps,  Up: Description
  1451.  
  1452. The GIT ASCII/HEX file viewer
  1453. =============================
  1454.  
  1455.    `gitview' is an ASCII/HEX file viewer.  Use the `arrows', `PageUp',
  1456. `PageDown', `Home', `End', `^N', `^P', `^V', `ESC v' to move in the
  1457. file, `^L' to refresh the screen and `F10' or `^G' to leave.
  1458.  
  1459.    You can change these keys, just read the GITVIEW-Setup,
  1460. GITVIEW-Color, GITVIEW-Monochrome and GITVIEW-Keys sections in the
  1461. configuration files `.gitrc.TERM'.
  1462.  
  1463. 
  1464. File: git.info,  Node: gitcmp,  Next: gitkeys,  Prev: gitview,  Up: Description
  1465.  
  1466. The GIT internal file compare utility
  1467. =====================================
  1468.  
  1469.    `gitcmp' is a file compare utility.  It outputs to stderr, `git'
  1470. catching its error messages this way.
  1471.  
  1472.    `gtcmp' has been designed to be used in `$HOME/.gitrc.TERM' (`git'
  1473. configuration file) and should not be used as a stand alone program.
  1474.  
  1475. 
  1476. File: git.info,  Node: gitkeys,  Next: gitmatch,  Prev: gitcmp,  Up: Description
  1477.  
  1478. The GIT key sequences display utility
  1479. =====================================
  1480.  
  1481.    `gitkeys' is a program that displays the key sequence sent by the
  1482. pressed key.  This is the key sequence received by `GIT' tools, so this
  1483. program is useful when  setting up the `.gitrc.TERM' configuration
  1484. files.
  1485.  
  1486. 
  1487. File: git.info,  Node: gitmatch,  Next: gitwipe,  Prev: gitkeys,  Up: Description
  1488.  
  1489. The GIT file name match utility
  1490. ===============================
  1491.  
  1492.    `gitmatch' is a program that tries to match its first parameter (the
  1493. file name) against some patterns, returning the number of the pattern
  1494. that matched.
  1495.  
  1496.    `gitmatch' is called by the `gitaction'/`.gitaction' scripts and was
  1497. not designed to be used as a stand alone program.
  1498.  
  1499. 
  1500. File: git.info,  Node: gitwipe,  Next: gitmount,  Prev: gitmatch,  Up: Description
  1501.  
  1502. The GIT wipe file utility
  1503. =========================
  1504.  
  1505.    `gitwipe' is an utility for wiping files. It overwrites the file
  1506. contents with a random sequence of numbers and then calls `sync'().
  1507.  
  1508.    Note that `gitwipe' does *not* delete the file since (under `Linux'
  1509. at least) the `sync'() system call might return before actually writing
  1510. the new file contents to disk.  Deleting the file might be dangerous
  1511. because some file systems can detect that the blocks in the file are no
  1512. longer used and never write them back to disk in order to improve
  1513. performance.  It is up to you to delete the file(s) at a later moment.
  1514.  
  1515.